package com.CusterRelSys.mapper;

import com.CusterRelSys.entity.BasDict;
import org.apache.ibatis.annotations.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by dylx on 2017/12/1.
 */
@Mapper
public interface DictMapperDy {
    List<BasDict> selectAll();
    BasDict selectByNo(Integer dict_id);
    Boolean deleteById(Integer dict_id);
    List<BasDict> selectByType(String dicttype);
    List<BasDict> selectByItem(String dictitem);
    List<BasDict> selectByValue(String dictvalue);
    int addAll(BasDict basDict);
    int updateAll(BasDict basDict);
}
